package com.trkj.dao.jpa;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.Staff;

public interface IStaffDao extends CrudRepository<Staff, String> {
	@Query(nativeQuery=true,value="select * from Staff where staff_id=?1")
	public Staff selectById(String staff_id);
}
